# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-taggit-serializer
pkgver=0.1.7
pkgrel=3
pkgdesc="The Django Taggit Serializer Created for the Django REST Framework"
options="!check" # Missing py-django-nose
url="https://github.com/glemmaPaul/django-taggit-serializer"
arch="noarch"
license="BSD-3-Clause"
depends="py3-django"
makedepends="py3-setuptools"
checkdepends="py3-django-rest-framework py3-django-taggit py3-nose py3-django-nose"
source="$pkgname-$pkgver.tar.gz::https://github.com/glemmaPaul/django-taggit-serializer/archive/$pkgver.tar.gz"
builddir="$srcdir"/django-taggit-serializer-$pkgver

build() {
	python3 setup.py --quiet build
}

check() {
	python3 runtests.py
}

package() {
	python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}


sha512sums="e4f2dcabac8e4afa9b6969bbb8718e2e5047ec97dab80f800ad73c3f59da438b8e9becbcce1af0c986a4a903a9846ca85db58d2135658d7103caee69431b59a5  py3-django-taggit-serializer-0.1.7.tar.gz"
